package com.quyunshuo.module.home.fragment.me

sealed class Resource<out T> {
    object Loading : Resource<Nothing>()
    data class Success<out T>(val data: T) : Resource<T>()
    data class Error(val exception: Throwable? = null, val message: String? = null) : Resource<Nothing>()
}